package com.hrms.service;

import com.hrms.pojo.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

/**
 *  用户表 服务类
 *
 * @author LK
 * @since 2021-10-19
 */
public interface SysUserService {
    //查询
    HashMap<String, Object> select(SysUser a);
    //登录
    HashMap<String, Object> login(SysUser user);
    //查询用户名
    List<SysUser> selectByName(String userName);
    //添加
    HashMap<String, Object> add(SysUser a);
    //更新
    HashMap<String, Object> update(SysUser a);
    //删除
    HashMap<String,Object> del(Integer a);
    //修改当前用户密码
    HashMap<String,Object> updatePwd(SysUser a);
}